Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add color and wordwrap to help message #3481

Merged
merged 3 commits into from Jan 15, 2019
Merged

Add color and wordwrap to help message #3481

merged 3 commits into from Jan 15, 2019

Conversation

epdenouden
Copy link
Contributor

Added a bit of color to the help message for consoles that support it. Otherwise the output format is unchanged.

image

When colored the description field will also be wrapped nicely to fit less wide terminals.

image

@codecov
Copy link

codecov bot commented Jan 14, 2019

Codecov Report

Merging #3481 into master will increase coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #3481      +/-   ##
============================================
+ Coverage     82.87%   82.96%   +0.09%     
- Complexity     3653     3679      +26     
============================================
  Files           144      145       +1     
  Lines          9553     9604      +51     
============================================
+ Hits           7917     7968      +51     
  Misses         1636     1636
Impacted Files Coverage Δ Complexity Δ
src/TextUI/Command.php 71.23% <100%> (ø) 208 <0> (ø) ⬇️
src/Util/Help.php 100% <100%> (ø) 26 <26> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9cbee9d...3c8db63. Read the comment docs.

@sebastianbergmann sebastianbergmann merged commit de3fbd8 into sebastianbergmann:master Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants